const state = {
  areaList: []
};

const mutations = {
  SET_AREALIST: (state, data) => {
    state.areaList = data;
  },
};

const actions = {
  setAreaList({
    commit
  }, data) {
    commit("SET_AREALIST", data);
  },

};

const getter = {
  areaList(state) {
    return state.areaList;
  },
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getter,
};